package cn.tedu.ivos.base.exception;

import cn.tedu.ivos.base.response.StatusCode;
import lombok.Data;
import lombok.Getter;

/**
 * 自定义业务异常类
 * @author liyuehui
 * @time 2024/7/4 17:14
 */
@Getter
public class ServiceException extends RuntimeException {
    private StatusCode statusCode;

    public ServiceException(StatusCode statusCode) {
        this.statusCode = statusCode;
    }
}
